package com.terren.spider.entity.biz;

import com.terren.spider.util.common.Lookup3Hash;

public class ArticleSearch extends BasicDataEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6011826894342186118L;
	private Long taskId;//任务id
	private String title;          //文章标题
	private String summary;        //文章摘要
	private String content;        //文章内容
	private String pubTime;        //文章的发布时间
	private String newsSource;     //文章的新闻来源
	private String keyword;        //文章中出现的关键词
	private String html; //网页所有内容
	private String beginTime;
	private String endTime;
	private String pubTimeStr;  //文章的发布时间 页面原始内容
	private Integer index;//对象添加顺序
	private String author;//新闻作者
	private String originalSource;//新闻原始来源
	private String sentiment;//情感倾向 
	private String tag;//文章观点
	
	private Long commentcount;//评论数
	private Long clickcount;//点击数或者阅读数
	private Long praisecount;//点赞数
	private Long similarcount;//相似文章数
	private Integer sentianalysis;//是否做过情感分析处理
	private Integer similaranalysis;//是否做过相似文章处理
	private Integer masterpaste;//是否主贴 
	private Long authorHash;//作者 hash值
	private String authorUrl;//作者url
	private Integer followedCount;//关注者数
	private String followedCountStr;//关注者数字符串
	private Integer visitCount;//访问量
	private String visitCountStr;//访问者字符串
	
	public Integer getFollowedCount() {
		return followedCount;
	}
	public void setFollowedCount(Integer followedCount) {
		this.followedCount = followedCount;
	}
	public String getFollowedCountStr() {
		return followedCountStr;
	}
	public void setFollowedCountStr(String followedCountStr) {
		this.followedCountStr = followedCountStr;
	}
	public Integer getVisitCount() {
		return visitCount;
	}
	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}
	public String getVisitCountStr() {
		return visitCountStr;
	}
	public void setVisitCountStr(String visitCountStr) {
		this.visitCountStr = visitCountStr;
	}
	public String getAuthorUrl() {
		return authorUrl;
	}
	public void setAuthorUrl(String authorUrl) {
		this.authorUrl = authorUrl;
	}
	public Long getAuthorHash() {
		if (null != author && !"".equals(author)) {
			authorHash = Lookup3Hash.toID(author);
		}
		return authorHash;
	}
	public void setAuthorHash(Long authorHash) {
		this.authorHash = authorHash;
	}
	public Integer getSentianalysis() {
		return sentianalysis;
	}
	public void setSentianalysis(Integer sentianalysis) {
		this.sentianalysis = sentianalysis;
	}
	public Integer getSimilaranalysis() {
		return similaranalysis;
	}
	public void setSimilaranalysis(Integer similaranalysis) {
		this.similaranalysis = similaranalysis;
	}
	public Integer getMasterpaste() {
		return masterpaste;
	}
	public void setMasterpaste(Integer masterpaste) {
		this.masterpaste = masterpaste;
	}
	private Integer occurance = 0;//关键词出现次数
	
	
	
	public Integer getOccurance() {
		return occurance;
	}
	public void setOccurance(Integer occurance) {
		this.occurance = occurance;
	}
	public Long getCommentcount() {
		return commentcount;
	}
	public void setCommentcount(Long commentcount) {
		this.commentcount = commentcount;
	}
	public Long getClickcount() {
		return clickcount;
	}
	public void setClickcount(Long clickcount) {
		this.clickcount = clickcount;
	}
	public Long getPraisecount() {
		return praisecount;
	}
	public void setPraisecount(Long praisecount) {
		this.praisecount = praisecount;
	}
	public Long getSimilarcount() {
		return similarcount;
	}
	public void setSimilarcount(Long similarcount) {
		this.similarcount = similarcount;
	}
	public String getSentiment() {
		return sentiment;
	}
	public void setSentiment(String sentiment) {
		this.sentiment = sentiment;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getOriginalSource() {
		return originalSource;
	}
	public void setOriginalSource(String originalSource) {
		this.originalSource = originalSource;
	}
	public Integer getIndex() {
		return index;
	}
	public void setIndex(Integer index) {
		this.index = index;
	}
	public String getPubTimeStr() {
		return pubTimeStr;
	}
	public void setPubTimeStr(String pubTimeStr) {
		this.pubTimeStr = pubTimeStr;
	}
	public Long getTaskId() {
		return taskId;
	}
	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPubTime() {
		return pubTime;
	}
	public void setPubTime(String pubTime) {
		this.pubTime = pubTime;
	}
	public String getNewsSource() {
		return newsSource;
	}
	public void setNewsSource(String newsSource) {
		this.newsSource = newsSource;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getHtml() {
		return html;
	}
	public void setHtml(String html) {
		this.html = html;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
}
